<template>
  <div class="button-container">
    <button class="action-button analysis" @click="goToPage('Analysis')">接受</button>
    <button class="action-button send" @click="goToPage('Send')">发送</button>
  </div>
</template>

<script setup lang="ts">
import { goToPage } from '../utils/route'
</script>

<style scoped>
.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.vue:hover {
  filter: drop-shadow(0 0 2em #42b883aa);
}

/* 按钮容器样式 */
.button-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin: 30px 0;
  padding: 30px;
}

/* 按钮通用样式 */
.action-button {
  background-color: #4CAF50; /* 绿色 */
  border: none;
  color: white;
  padding: 60px 128px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 40px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
}

/* 悬停效果 */
.action-button:hover {
  background-color: #45a049;
}

/* 按钮点击效果 */
.action-button:active {
  background-color: #3d8b40;
}
</style>